package com.xhh.nphm.gaoxin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xhh.nphm.gaoxin.entity.GxqTworkFormBaseEty;
import com.xhh.nphm.gaoxin.mapper.GxqTelWFManageDao;
import com.xhh.nphm.gaoxin.service.GxqITelWFManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

@Service
public class GxqTelWFManageServiceImpl extends ServiceImpl<GxqTelWFManageDao, GxqTworkFormBaseEty> implements GxqITelWFManageService {
    @Autowired
    private GxqTelWFManageDao GxqTelWFManageDao;

    /**
     * 承办单位处理中
     * @param GxqTworkFormBaseEty
     * @return
     */
    @Override
    public List<GxqTworkFormBaseEty> listSendOver(GxqTworkFormBaseEty GxqTworkFormBaseEty) {
        return GxqTelWFManageDao.listSendOver(GxqTworkFormBaseEty);
    }

    /**
     * 待再次整理
     * @param GxqTworkFormBaseEty
     * @return
     */
    @Override
    public List<GxqTworkFormBaseEty> listSecond(GxqTworkFormBaseEty GxqTworkFormBaseEty) {
        return GxqTelWFManageDao.listSecond(GxqTworkFormBaseEty);
    }

    @Override
    public int deleteByIds(String[] ids) {
        return GxqTelWFManageDao.deleteBatchIds(Arrays.asList(ids));
    }
}
